hvmloader: Fixes to printf() implementation.
authorKeir Fraser <keir@xen.org>
Fri, 14 Jan 2011 15:21:24 +0000 (15:21 +0000)
committerKeir Fraser <keir@xen.org>
Fri, 14 Jan 2011 15:21:24 +0000 (15:21 +0000)
commit23b4cad2cd3f9a2c5f44e8ae0c5944b3410fadfa
treedbdd924b804bda549e0f12fd94483bfce780738e
parent48f902c059c84c1630b752cae00333814a96482a
hvmloader: Fixes to printf() implementation.

1. Remove unportable O and D format specifiers
2. Fix X format specifier to print upper-case hex characters
3. Fix d format specifier to print -ve numbers
4. Fix handling of int vs. long (although not actually an issue
   for the i386 compile target)
5. Don't use the antiquated C 'register' type attribute.

Signed-off-by: Keir Fraser <keir@xen.org>
tools/firmware/hvmloader/util.c